﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MenuMaster.Master" AutoEventWireup="true" CodeBehind="goods.aspx.cs" Inherits="QunYing.Web.market.Goods" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">

    <script src="js/urlhelper.js" type="text/javascript"></script>

   <script type="text/javascript">
       $(function() {
           $("#nav_main a[href='goods.aspx']").addClass("nav_current");
       });
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
      <div class="index_box">
        <h2><a class="more" href="hotgoods.aspx">更多...</a><span><strong>热门</strong>推荐</span></h2>
         <asp:Repeater ID="HotRepeater" runat="server">
           <HeaderTemplate><ul></HeaderTemplate>
           <ItemTemplate> <li><a href="hotdetail.aspx?id=<%#Eval("商品ID")%>" class="goods_pic" title="<%#Eval("商品名称")%>"><img src="<%#Eval("商品图片")%>"  width="140" height="100" /></a>
            <a href="hotdetail.aspx?id=<%#Eval("商品ID")%>" class="goods_title"><%#Eval("商品名称")%></a><br/><span class="goods_price"> 商城价：<span>￥<%# Convert.ToDecimal(Eval("现价")).ToString("f2")%></span></span></li></ItemTemplate>
           <FooterTemplate></ul></FooterTemplate>
           </asp:Repeater>
      </div>
           <div class="index_box">
        <h2><a class="more" href="salegoods.aspx">更多...</a><span><strong>特价</strong>专区</span></h2>
        <asp:Repeater ID="SaleRepeater" runat="server">
           <HeaderTemplate><ul></HeaderTemplate>
           <ItemTemplate> <li><a href="saledetail.aspx?id=<%#Eval("商品ID")%>" class="goods_pic" title="<%#Eval("商品名称")%>"><img src="<%#Eval("商品图片")%>"  width="140" height="100" /></a>
            <a href="saledetail.aspx?id=<%#Eval("商品ID")%>" class="goods_title"><%#Eval("商品名称")%></a><br/>
            <span class="goods_oldprice"> 原价：<span>￥<%# Convert.ToDecimal(Eval("原价")).ToString("f2")%></span></span><br/>
            <span class="goods_price"> 商城价：<span>￥<%# Convert.ToDecimal(Eval("现价")).ToString("f2")%></span></span></li></ItemTemplate>
           <FooterTemplate></ul></FooterTemplate>
           </asp:Repeater>
      </div>
            <div class="index_box">
        <h2><a class="more" href="scoregoods.aspx">更多...</a><span><strong>积分</strong>兑换</span></h2>
        <asp:Repeater ID="ScoreRepeater" runat="server">
           <HeaderTemplate><ul></HeaderTemplate>
           <ItemTemplate> <li><a href="scoredetail.aspx?id=<%#Eval("商品ID")%>" class="goods_pic" title="<%#Eval("商品名称")%>"><img src="<%#Eval("商品图片")%>"  width="140" height="100" /></a>
            <a href="scoredetail.aspx?id=<%#Eval("商品ID")%>" class="goods_title"><%#Eval("商品名称")%></a><br/><span class="goods_price"> 兑换积分：<span><%# Eval("兑换积分")%></span></span></li></ItemTemplate>
           <FooterTemplate></ul></FooterTemplate>
           </asp:Repeater>
      </div>
</asp:Content>